package com.wbao.dianniu.ui;

import android.os.Bundle;
import android.widget.TextView;

import com.umeng.analytics.MobclickAgent;
import com.wbao.dianniu.R;
import com.wbao.dianniu.utils.Utils;

/**
 * 关于电纽
 * 
 * @author yejianjun
 * 
 */
public class AboutActivity extends BaseActivity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentLayout(R.layout.activity_about);
		setTitleName(getResources().getString(R.string.about_title));
		TextView versionTV = (TextView) findViewById(R.id.about_version);
		String versonName = Utils.getVersionName(this);
		versionTV.setText(getResources().getString(R.string.version) + versonName);
	}

	public void onResume() {
		super.onResume();
		MobclickAgent.onResume(this);
	}

	public void onPause() {
		super.onPause();
		MobclickAgent.onPause(this);
	}
}
